package com.info.zhiduoduo.repository.entity.customer;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("zdd_service_following")
public class Following extends Model<Following> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //记录内容
    @TableField("following_row")
    private String followingRow;
    //创建时间
    private Date createtime;
    //修改时间
    private Date updatetime;
    //创建人
    @TableField("create_person")
    private Integer createPerson;
    //修改人
    @TableField("update_person")
    private Integer updatePerson;

    @TableField("service_error_id")
    private Integer serviceErrorID;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
